import Layout from '@/views/layout/frame/Layout.vue'

export default [
  // 组态管理
  {
    path: '/tenant',
    component: Layout,
    hidden: false,
    meta: {
      title: '企业管理',
      icon: 'iconfont icon-zutai',
      roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'SYS_ADMIN']
    },
    children: [
      {
        path: 'index',
        name: 'tenantManage',
        component: () => import('@/views/tenant/index.vue'),
        meta: {
          title: '技术支持管理',
          icon: 'iconfont icon-zutai',
          roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'SYS_ADMIN']
        }
      },
      {
        path: 'sysTenant',
        name: 'sysTenant',
        component: () => import('@/views/tenant/sysTenant.vue'),
        meta: {
          title: 'sys企业管理',
          icon: 'iconfont icon-zutai',
          roles: ['CUSTOMER_USER', 'TENANT_ADMIN', 'SYS_ADMIN']
        }
      }
    ]
  }
]
